GdkRGBA *error_color;
GskPangoRendererState state;
- GskPangoShapeHandler shape_handler;
- /* house-keeping options */
guint is_cached_renderer : 1;
+
+ GskPangoShapeHandler shape_handler;
};
struct _GskPangoRendererClass
double target;
guint duration;
+ guint tick_id;
gint64 start_time;
gint64 end_time;
- guint tick_id;
GdkFrameClock *clock;
};
typedef struct _GtkAdjustmentPrivate GtkAdjustmentPrivate;
GtkWidget *menubar;
gboolean show_menubar;
+ guint id;
GMenu *menubar_section;
- guint id;
-
GtkShortcutsWindow *help_overlay;
};
GtkAdjustment *hadjustment;
- gboolean reorderable;
- gboolean show_column_separators;
+ guint reorderable : 1;
+ guint show_column_separators : 1;
+ guint in_column_resize : 1;
+ guint in_column_reorder : 1;
- gboolean in_column_resize;
- gboolean in_column_reorder;
int drag_pos;
int drag_x;
int drag_offset;
int drag_column_x;
- GtkGesture *drag_gesture;
-
guint autoscroll_id;
double autoscroll_x;
double autoscroll_delta;
+
+ GtkGesture *drag_gesture;
};
struct _GtkColumnViewClass
GtkStyleAnimation parent;
guint property;
+ guint finished;
GtkCssValue *start;
GtkCssValue *ease;
GtkProgressTracker tracker;
- guint finished;
};
GdkModifierType state;
- GdkEvent *current_event;
-
gboolean is_focus;
+
+ GdkEvent *current_event;
};
struct _GtkEventControllerKeyClass
guint show_preview_entry : 1;
guint modal : 1;
+ GtkFontChooserLevel level;
+
GtkWidget *button;
GtkWidget *font_dialog;
GtkWidget *font_label;
GtkWidget *size_label;
GtkWidget *font_size_box;
+ int font_size;
PangoFontDescription *font_desc;
PangoFontFamily *font_family;
PangoFontFace *font_face;
PangoFontMap *font_map;
- int font_size;
char *font_features;
PangoLanguage *language;
char *preview_text;
gpointer font_filter_data;
GDestroyNotify font_filter_data_destroy;
GtkCssProvider *provider;
-
- GtkFontChooserLevel level;
};
struct _GtkFontButtonClass
guint max_columns;
/* set in size_allocate */
guint n_columns;
- double column_width;
int unknown_row_height;
+ double column_width;
};
struct _GtkGridViewClass
struct _GtkProgressTracker
{
- gboolean is_running;
guint64 last_frame_time;
guint64 duration;
double iteration;
double iteration_count;
+ gboolean is_running;
};
void gtk_progress_tracker_init_copy (GtkProgressTracker *source,
GtkWidget *highlight_widget;
GtkWidget *slider_widget;
- GtkOrientation orientation;
+ GtkGesture *drag_gesture;
double fill_level;
double *marks;
/* Whether dragging is ongoing */
guint in_drag : 1;
- GtkGesture *drag_gesture;
+ GtkOrientation orientation;
GtkScrollType autoscroll_mode;
guint autoscroll_id;
int digits;
+ guint draw_value : 1;
+ guint value_pos : 2;
+
GtkScaleFormatValueFunc format_value_func;
gpointer format_value_func_user_data;
GDestroyNotify format_value_func_destroy_notify;
-
- guint draw_value : 1;
- guint value_pos : 2;
};
struct _GtkScaleMark
{
double value;
int stop_position;
+ GtkPositionType position; /* always GTK_POS_TOP or GTK_POS_BOTTOM */
char *markup;
GtkWidget *label_widget;
GtkWidget *indicator_widget;
GtkWidget *widget;
- GtkPositionType position; /* always GTK_POS_TOP or GTK_POS_BOTTOM */
};
enum {
double handle_pos;
guint tick_id;
- GtkProgressTracker tracker;
guint state : 1;
guint is_active : 1;
+ GtkProgressTracker tracker;
+
GtkWidget *on_image;
GtkWidget *off_image;
GtkWidget *slider;
*/
guint keyboard_direction : 2;
+ guint overwrite_mode : 1;
+
/* The preedit string and attributes, if any */
char *preedit_string;
PangoAttrList *preedit_attrs;
int preedit_len;
int preedit_cursor;
-
- guint overwrite_mode : 1;
};
struct _GtkTextLayoutClass
* a pointer to the key from the entry in
* tkxt->tagTable, so it needn't be freed
* explicitly. */
- int priority; /* Priority of this tag within widget. 0
- * means lowest priority. Exactly one tag
- * has each integer value between 0 and
- * numTags-1. */
/*
* Information for displaying text with this tag. The information
* belows acts as an override on information specified by lower-priority
GtkTextAttributes *values;
+ int priority; /* Priority of this tag within widget. 0
+ * means lowest priority. Exactly one tag
+ * has each integer value between 0 and
+ * numTags-1. */
/* Flags for whether a given value is set; if a value is unset, then
* this tag does not affect it.
*/
GtkWidget *widget;
guint snapshot_count;
+ guint pending_update_cb; /* the idle source that updates the valid image to be the new current image */
+
GdkPaintable *current_image; /* the image that we are presenting */
GdkPaintable *pending_image; /* the image that we should be presenting */
- guint pending_update_cb; /* the idle source that updates the valid image to be the new current image */
};
struct _GtkWidgetPaintableClass
GtkWidget *tracked_parent;
guint parent_surface_transform_changed_id;
- GList *callbacks;
-
gboolean cached_surface_transform_valid;
+
graphene_matrix_t cached_surface_transform;
+ GList *callbacks;
} GtkWidgetSurfaceTransformData;
struct _GtkWidgetPrivate
guint halign : 4;
guint valign : 4;
+ guint user_alpha : 8;
+
GtkOverflow overflow;
- guint8 user_alpha;
#ifdef G_ENABLE_CONSISTENCY_CHECKS
/* Number of gtk_widget_push_verify_invariants () */
int width_request;
int height_request;
- void (* resize_func) (GtkWidget *);
- GtkBorder margin;
/* Animations and other things to update on clock ticks */
guint clock_tick_id;
GList *tick_callbacks;
+ void (* resize_func) (GtkWidget *);
+ GtkBorder margin;
+
/* Surface relative transform updates callbacks */
GtkWidgetSurfaceTransformData *surface_transform_data;
int allocated_height;
int allocated_size_baseline;
- GskTransform *transform;
int width;
int height;
int baseline;
+ GskTransform *transform;
/* The widget's requested sizes */
SizeRequestCache requests;